using System.Collections;
using DailyReport.Core.Data.Model;

namespace DailyReport.Core.Bussines.IManagers
{
    public interface IDailyManager : IManager
    {
        void CreateTimeRegister(TimeRegister register, int userId);
        void UpdateTimeRegister(TimeRegister register, int userId);
        void StartDaily(int userId);
        void EndDaily(int userId);
        Daily GetDailyByUser(int userId);
        
        //IList GetDailyRegistersList(int userId, string sortExpression, int startRowIndex, int maxRows);
        IList GetDailyRegistersList(int userId, string sortExpression);
        int GetDailyRegistersCount(int userId);
    }
}